/*
    Document   : stylescipem
    Created on : 24/03/2013, 21:59:30
    Author     : Max
    Description:
        Esse documento serve para estilizar o site do CIPEM,
        afiliado ao PET-Informática.
*/
/* FONTS
==============================================================================*/
@font-face {
    font-family: "Copse";
    src: url("fonts/Copse-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}
/* CSS RESET
==============================================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* Form reset */
form input, select, textarea{
    outline: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a{
    color: inherit;
    text-decoration: none;
}
strong{
    font-weight: bold;
}
i{
    font-style: oblique;
}
sub{
    font-size: 0.5em;
    vertical-align: sub;
}
sup{
    font-size: 0.5em;
    vertical-align: super;
}
/* LIB
==============================================================================*/
.fleft{
    float: left;
}
.fright{
    float: right;
}
.hidden{
    display: none;
}
.onehalf{
    width: 420px;
}
.minorText{
    font-size: 80%;
}
.maiorText{
    font-size: 150%;
}
.button {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ebf2e4), color-stop(1, #d8e6cd) );
	background:-moz-linear-gradient( center top, #ebf2e4 5%, #d8e6cd 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebf2e4', endColorstr='#d8e6cd');
	background-color:#ebf2e4;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #9ab591;
	display:inline-block;
	color:#547b48;
	font-family: "Source Sans Pro", sans-serif;
	font-size:1em;
	font-weight:600;
	padding:5px 30px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
}.button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #d8e6cd), color-stop(1, #ebf2e4) );
	background:-moz-linear-gradient( center top, #d8e6cd 5%, #ebf2e4 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d8e6cd', endColorstr='#ebf2e4');
	background-color:#d8e6cd;
}.button:active {
	position:relative;
	top:1px;
}
/* ESTRUTURAL
==============================================================================*/
html, body{
    width: 100%;
    height: 100%;
    background-color: #f2ffe0;
}
#container{
    position: relative;
    width: 960px;
    min-height: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    font: normal normal normal 12pt "Source Sans Pro", sans-serif;
    box-shadow: 0 0 25px rgba(163, 214, 96,0.15);
}

/* HEADER
==============================================================================*/
header{
    width: auto;
}
header #logo{
    float: left;
    height: 125px;
}
/* Navigation
------------------------------------------------------------------------------*/
header nav{
    height: 40px;
}
    header nav ul{
        margin: 0 auto;
    }
    header nav ul li{
        float: left;
        text-align: center;
        border-left: #a3d660 solid 1px;
    }
        header nav ul li a{
            display: block;
            width: 191px;
            height: 30px;
            padding: 10px 0 0 0;
            background-color: #75b350;
            color: #ffffff;
            font-family: "Source Sans Pro", sans-serif;
            font-size: 1em;
            font-weight: 600;
        }
            header nav ul li a:hover{
                background-color: #a3d660;
            }
/* Usuario
------------------------------------------------------------------------------*/
section.user{
    padding: 10px 10px 0 0;
    text-align: right;
    font-size: 0.875em;
}
    section.user a{
        color: #547b48;
    }
        section.user a:hover{
            text-decoration: underline;
        }

/* FOOTER
==============================================================================*/
footer {
    position: absolute;
    bottom: 0;
    width: 960px;
    height: 350px;
    background-color: #75b350;
    color: #ffffff;
}
footer h4{
    color: #ffffff;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}
footer a:hover{
    text-decoration: underline;
}
footer #logoWhite{
    float: left;
    width: 190px;
    height: 70px;
    margin: 0 0 0 20px;
}
    footer address{
        float: left;
        width: 350px;
        height: auto;
        margin: 0 20px;
        font-size: 0.750em;
    }
        footer address p{
            padding: 0 0 10px 20px;
            background-repeat: no-repeat;
            background-position: left center;
            background-size: 15px;
        }
            footer address p.address{
                background-image: url("images/iconMapMarker.svg");
                background-position: left top;
            }
            footer address p.phone{
                padding: 10px 0 10px 20px;
                background-image: url("images/iconPhone.svg");
            }
            footer address p.email{
                padding: 10px 0 10px 20px;
                background-image: url("images/iconEmail.svg");
            }
    footer nav{
        float: right;
        width: 150px;
        font-size: 0.750em;
    }
    footer nav ul{
        line-height: 1.75em;
    }
footer section.ad{
    display: block;
    width: auto;
    height: 100px;
    margin: 0 0 20px 0;
    border-top: #cce8a7 solid 1px;
    padding: 10px 20px;
    background-color: #f2ffe0;
}
    footer section.ad h4{
        color: #547b48;
    }
    footer section.ad section{
        float: left;
        width: 460px;
    }
        footer section.ad section ul li{
            float: left;
            margin: 0 10px 0 0;
        }
            footer section.ad section ul li img{
                display: block;
            }
        footer section.ad #espweb,
        footer section.ad #ici,
        footer section.ad #sebrae{
            width: 125px;
        }
        footer section.ad #phd{
            width: 140px;
        }
        footer section.ad #uem{
            width: 70px;
        }
        footer section.ad #pen{
            width: 80px;
        }
        footer section.ad #din{
            width: 100px;
        }



/* MAIN
==============================================================================*/
#main{
    width: auto;
    min-height: 100%;
    padding: 0 20px;
    padding-bottom: 350px;
}
    .index{
        padding-top: 0;
    }
#main h1{
    color: #547b48;
    font-family: "Source Sans Pro", serif;
    font-size: 1.6em;
    font-weight: 600;
}
#main h2{
    color: #547b48;
    font-family: "Source Sans Pro", serif;
    font-size: 1.3em;
    font-weight: 600;
}
#main h3{
    color: #547b48;
    font-family: "Source Sans Pro", serif;
    font-size: 1.15em;
    font-weight: 600;
}
#main hr{
    margin: 0 auto;
    height: 0;
    border: none;
    border-top: #75b350 solid 1px;
}
#main strong{
    font-weight: bold;
}
#main p.messageError{
    width: 540px;
    margin: 10px 0;
    padding: 10px;
    background-color: #b34e4d;
    color: #ffffff;
    font-size: 0.875em;
}

/* Content
------------------------------------------------------------------------------*/
#main section.content{
    width: auto;
    min-height: 200px;
    margin: 20px 0;
}
    #main section.content a:hover{
        text-decoration: underline;
    }
    #main section.content div.text p{
        margin-top: 20px;
        color: #282828;
        font-size: 0.875em;
        text-indent: 20px;
        line-height: 1.5em;
    }
        #main section.content div.text p a{
            color: #75b350;
        }

/* Programação
------------------------------------------------------------------------------*/
    #main section.content ul.programacao{
    }
        #main section.content ul.programacao li h2{
            margin: 10px 0 0 0;
            padding: 5px 25px;
            background-color: #75b350;
            color: #f2ffe0;
        }
        #main section.content ul.programacao li ul li{
            margin: 20px 0;
            border-bottom: #9ab591 dotted 1px;
        }
            #main section.content ul.programacao p{
                margin: 10px 0;
            }
/* HOME
==============================================================================*/
#main #mainBanner{
    width: 920px;
    height: 300px;
    padding: 0;
    background-image: url("images/logoCipem.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 80%;
}
#main img#minorBanner{
    display: block;
    height: 180px;
    margin: 0 auto;
    padding: 20px 0;
}
#main section.infoHome{
    width: 460px;
    min-height: 300px;
    text-align: justify;
}
    #main section.infoHome section{
        margin: 20px 20px 20px 0;
    }
        #main section.infoHome section p{
            margin-top: 10px;
            color: #595959;
            font-family: "Source Sans Pro", sans-serif;
            font-size: 0.875em;
            line-height: 1.5em;
            text-align: justify;
        }
#main section.photos{
    float: right;
    width: 460px;
    height: 300px;
    margin: 20px 0 0 0;
    background-color: #75b350;
}

/* FORMULARIOS
==============================================================================*/
#main section.formInfo{
    float: right;
    width: 300px;
    height: auto;
    padding: 10px;
    background-color: #e2f7c6;
}
    #main section.formInfo p{
        margin: 5px 0;
        color: #547b48;
        font-size: 0.813em;
    }
#main form{
    width: 560px;
    padding: 20px;
    border-right: #e2f7c6 solid 2px;
}
    #main form fieldset legend{
        color: #547b48;
        font-size: 1.250em;
        font-weight: 600;
    }
    #main form p{
        margin: 0 0 10px 0;
    }
        #main form p label{
            color: #282828;
        }
            #main form p label:hover{
                color: #547b48;
            }
    #main form p.buttons{
        text-align: center;
        margin: 20px 0;
    }
        #main form p span.required{
            color: #b34e4d;
            font-size: 1.25em;
            font-weight: 600;
        }
        #main form p input[type="text"],
        #main form p input[type="email"],
        #main form p input[type="password"],
        #main form p input[type="number"],
        #main form p input[type="date"],
        #main form p input[type="file"],
        #main form p select,
        #main form p textArea{
            padding: 5px;
            border: #aaaaaa solid 1px;
            background-color: #ffffff;
            color: #547b48;
            font-family: "Source Sans Pro";
            font-size: 1em;
        }
            #main form p input[type="text"]:focus,
            #main form p input[type="email"]:focus,
            #main form p input[type="password"]:focus,
            #main form p input[type="number"]:focus,
            #main form p input[type="date"]:focus,
            #main form p input[type="file"]:focus,
            #main form p select:focus,
            #main form p textArea:focus{
                border-color: #75b350;
            }
        #main form p textArea{
            width: 400px;
            height: 200px;
        }

/* Types of input */
#main form p input.error,
#main form p select.error{
    color: #b34e4d;
    border-color: #b34e4d;
}
#main form p input.longText{
    width: 400px;
}
#main form p input.mediumText{
    width: 300px;
}
#main form p input.tinyText{
    width: 200px;
}
#main form p input.microText{
    width: 100px;
}
#main form p input.email{
    width: 300px;
}
#main form p input.phone{
    width: 300px;
}
#main form p input.date{
    width: 200px;
}
#main form p input.tText{
    width: 200px;
}

/* TABLES
==============================================================================*/
table {
    width: 100%;
    border: #75b350 solid 2px;
}
    table tr th{
        border: #75b350 solid 1px;
        background-color: #75b350;
        color: #ffffff;
        padding: 10px;
    }
    table tr td {
        padding: 10px;
        border-bottom: #aaaaaa dotted 1px;
    }